#!/bin/bash
cd /home/ec2-user/rule/
source rule-env/bin/activate
date_list=('2023-01-19' '2023-01-20')
for para1 in ${date_list[@]}
do
    nohup python3 -u abnormal_detect_new_rule_ec2.py  --p_date  $para1   >rule_test.log  2>&1  &
    wait
done
